package com.wang.service.impl;

import com.aaa.entity.UAddr;
import com.aaa.vo.Result;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import com.wang.service.UAddrService;
import com.wang.mapper.UAddrMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *
 */
@Service
public class UAddrServiceImpl extends ServiceImpl<UAddrMapper, UAddr>
    implements UAddrService{
@Autowired
private UAddrMapper uAddrMapper;
    @Override
    public Result page() {
        List<UAddr> list1 = uAddrMapper.list();
        return new Result(2000,"success",list1);
    }

}




